/*
 * Medico.java
 *
 * Created on 24 de Outubro de 2007, 14:39
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.ita.redecasd.mi.ws;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author Ju
 */
public class Medico {
    
     private String Nome;
     private List<Integer> ListaIDs;
     private int arg[];
     /**
     * Creates a new instance of Medico
     */
     
    public Medico() {
        
        int IDs[] = {10, 20, 30, 40, 50};
        ListaIDs = new LinkedList<Integer>();
        this.Nome = "Teste MedicoWS";
    }

    public String getNome() {
        return Nome;
    }

    public void setNome(String Nome) {
        this.Nome = Nome;
    }
    
    public void addPaciente(int i){
        ListaIDs.add(i);
    }
    
    public int printLista(int i){
        return ListaIDs.get(i);
    }
    
    public void criaLista(int i[]){
        for(int ID : i)
            this.ListaIDs.add(ID);
    }
   
}
